from django import forms
from house.models import Trade, Image 


class AddTradeForm(forms.ModelForm):
    class Meta:
        model = Trade
        fields = ["ttype", "actype","area", "style", "fitment", "floor", "addr", "price", "souce", "title", "desc", "phone"]

class UploadImageForm(forms.ModelForm):
    class Meta:
        model = Image 
        fields = ['image']

